package com.springcloudexercise.baseservice.FeignInterface;

import com.springcloudexercise.baseservice.config.FeignConfig;
import feign.RequestLine;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


@FeignClient(value = "USERSERVICE1",configuration = FeignConfig.class)
public interface UserServiceOneFeign {

    @RequestLine("GET /getUserInfo")
    public Object getUserInfo();

}
